import Vue from 'vue'
import Index from './order-list.vue'
import axios from 'axios'

require('es6-promise').polyfill()

const FastClick = require('fastclick')
FastClick.attach(document.body)

Vue.config.productionTip = false

axios.interceptors.response.use(res => {
  return res.data
})

window.DEBUGGING = -1<location.href.indexOf("localhost");
// window.DEBUGGING = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  render: h => h(Index)
})
